<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>任务详情</title>
    <#include "../../commonUse.html"/>
</head>

<body>

    <div class="smart-body">
        <div class="border1pxe6">
            <div class="layui-layer-title"> 考勤异常申请<img class="smart-icon_back" src="${ctx.contextPath}/images/home_v1/smart-icon-back.png" title="返回" onclick="gotoBack();"></div>
            <div class="smart-task_bd view">
                <form id="form1" action="" class="layui-form">
                    <div class="layui-form-item">
	                    <div class="layui-inline">
	                        <label class="layui-form-label">申请时间：</label>
	                        <div class="layui-input-inline">
	                            <input type="text" id="applyTime" name="applyTime" class="layui-input" readonly="readonly">
	                        </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">申请人：</label>
                            <div class="layui-input-inline">
                                <input type="text" id="applyPerson" name="applyPerson" autocomplete="off" class="layui-input" readonly="readonly">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">所属班组：</label>
                            <div class="layui-input-inline">
                                <input type="text" id="groupName" name="groupName" autocomplete="off" class="layui-input" readonly="readonly">
                            </div>
                        </div>
                    </div>
                </form>
                <fieldset class="layui-elem-field layui-field-title">
                    <legend>申请内容</legend>
                    <div class="layui-field-box">
	                    <div id="ntable" style="">
	                        <table class="layui-table" lay-skin="line">
	                            <thead>
	                                <tr>
	                                    <th>姓名</th>
	                                    <th>工号</th>
	                                    <th>所属班组</th>
	                                    <th>考勤异常时间</th>
	                                    <th>共计时长</th>
	                                    <th>描述</th>
	                                    <th>操作</th>
	                                </tr>
	                            </thead>
	                            <tbody>
	                                <tr></tr>
	                            </tbody>
	                            <tfoot></tfoot>
	                        </table>
	                        <div class="tableData">分页</div>
	                   </div>
                    </div>
                </fieldset>
                <fieldset class="layui-elem-field layui-field-title">
                    <legend>审批意见</legend>
                    <div class="layui-field-box">
                        <textarea id="auditDesc" name="auditDesc" placeholder="请输入" maxlength="150" class="layui-textarea"></textarea>
                        <div class="smart-task-ftbtn" id="auditButton">
                            <button class="layui-btn" onclick="audit('1')">审批通过</button>
                            <button class="layui-btn layui-btn-primary" onclick="audit('2')">审批不通过</button>
                        </div>
                    </div>
                </fieldset>
                <fieldset class="layui-elem-field layui-field-title">
                    <legend>审批记录</legend>
                    <div class="layui-field-box">
                        <div class="smart-process_history" id="processContion">
				            
				        </div>
                    </div>
                </fieldset>
            </div>
        </div>
    </div>


</body>
<script type="text/javascript">
	var recId = "${recId}";
	var auditId = "${auditId}";
</script>
<script src="${ctx.contextPath}/pages/business/attendanceApply/js/attendance_detail.js"></script>
<script src="${ctx.contextPath}/pages/business/setProcess/js/process.js"></script>
</html>